nitrogen: Use unsigned long to specify the total RAM size
author[email protected] <[email protected]>
Thu, 14 Mar 2013 02:32:55 +0000 (02:32 +0000)
committerStefano Babic <[email protected]>
Fri, 15 Mar 2013 13:39:44 +0000 (14:39 +0100)
commit19a0f7fa271de0345bb2df90d443c547c41e8037
tree0ebaca0c9571ef090d05923b6c236cc3ca535ebf
parent030752addc757190a65154dd4d77c9b7044c063e
nitrogen: Use unsigned long to specify the total RAM size

When building for the nitrogen boards with 2GiB the following warning happens:

nitrogen6x.c:89:38: warning: integer overflow in expression [-Woverflow]

2GiB can not fit in 32-bits, so use ulong instead.

Reported-by: Albert Aribaud <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
board/boundary/nitrogen6x/nitrogen6x.c